<html>
	

<head>
<style>
	.model
{
	padding: 0.2rem 0.4rem;
	background: rgba(0,0,0,0.5);
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50% ) scale(0);
	-webkit-border-radius: 0.1rem;
	color: white;
	font-size: 0.24rem;
	z-index: 9999999999;
	white-space: nowrap;
}

.m_show{
	animation: m 0.2s linear forwards alternate;
}

.title{height:200px; width:200px;background: red;border-radius:10px;}
@-webkit-keyframes m{
	from{-webkit-transform: translate(-50%,-50% ) scale(0);}
	to{-webkit-transform: translate(-50%,-50% ) scale(1);}
}
</style>	
</head>
<body>
	<div class='model'></div>
	<div class="title">
		3333333333
	</div>
<script type="text/javascript">
	 function model() {
    var c_name = document.querySelector(".model"),
        t = c_name.innerText;
    if(t == "") {
        c_name.innerText = arguments[0]
    }
    c_name.classList.add("m_show");
    setTimeout(function() {
        c_name.classList.remove("m_show");
        if(t == ""){
            c_name.innerText = "";
        }
        
    }, 2000)
    }

    model('132323232');


</script>
</body>	
</html>